package com.chianghao.rock.system.dao.route;

import org.apache.ibatis.annotations.Param;

import com.chianghao.core.mybatis.mapper.BaseMapper;
import com.chianghao.rock.system.entity.Route;

public interface RouteMapper extends BaseMapper<Route> {

	int queryRouteCodeCount(@Param("code") String code);

	int queryRouteCodeCountExcludedId(@Param("code") String code,@Param("id")  long id);
	
	int queryRouteRouteCount(@Param("route") String route);

	int queryRouteRouteCountExcludedId(@Param("route") String route,@Param("id")  long id);
	
}